<#--tab学员培训日志-->
<#macro eduStudentTrainLog studentId>
    <table class="edu-tab-studentTrainLog"
           data-options="queryParams:{studentId:'${studentId}'}">
        <thead>
        <tr>
            <th data-options="title:'学员姓名',field:'studentName',width:80,align:'left',sortable: false"></th>
            <th data-options="title:'操作日期',field:'operateDateText',width:100,align:'left',sortable: false"></th>
            <th data-options="title:'培训消息',field:'msg',width:200,align:'left',sortable: false"></th>
        </tr>
        </thead>
    </table>
</#macro>

<#--科目下拉框-->
<#macro eduCategorySelectOption selectedValue>
    ${web.selectOptions(eduWebHelp.getCategoryIdAndCategoryName(),selectedValue)}
</#macro>

<#--培训计划下拉框-->
<#macro eduPlanSelectOption selectedValue eduCategoryId="">
    ${web.selectOptions(eduWebHelp.getPlanIdAndPlanName(eduCategoryId),selectedValue)}
</#macro>

<#--老师分类字典选项-->
<#macro dicEduPlanTeacherOption selectedValue="">
    ${sysWeb.dicSelectOptions("edu.plan.teacher",selectedValue)}
</#macro>

<#--题库试题类型-->
<#macro questionCategoryOptions selectedValue=-1>
    <option value="">请选择</option>
    <option value="1" ${web.isSelected(selectedValue=="1")}>单选题</option>
    <option value="2" ${web.isSelected(selectedValue=="2")}>多选题</option>
    <option value="3" ${web.isSelected(selectedValue=="3")}>判断题</option>
</#macro>

<#--试卷类型-->
<#macro paperCategoryOptions selectedValue=-1>
    <option value="">请选择</option>
    <option value="1" ${web.isSelected(selectedValue=="1")}>普通试卷</option>
    <option value="2" ${web.isSelected(selectedValue=="2")}>随机试卷</option>
</#macro>
<#--试题排序类型-->
<#macro questionOrderOptions selectedValue=-1>
    <option value="">请选择</option>
    <option value="0" ${web.isSelected(selectedValue=="0")}>固定</option>
    <option value="1" ${web.isSelected(selectedValue=="1")}>随机</option>
</#macro>
<#--试题选项排序-->
<#macro questionOptionOrderOptions selectedValue=-1>
    <option value="">请选择</option>
    <option value="0" ${web.isSelected(selectedValue=="0")}>固定</option>
    <option value="1" ${web.isSelected(selectedValue=="1")}>随机</option>
</#macro>
<#--试卷展示类型-->
<#macro showModeOptions selectedValue=-1>
    <option value="">请选择</option>
    <option value="0" ${web.isSelected(selectedValue=="0")}>整卷展示</option>
    <option value="1" ${web.isSelected(selectedValue=="1")}>单题展示</option>
</#macro>

<#--试卷下拉框-->
<#macro eduPaperSelectOption selectedValue eduCategoryId="">
    ${web.selectOptions(eduWebHelp.getPaperIdAndPaperName(eduCategoryId),selectedValue)}
</#macro>
<#--考试预约类型-->
<#macro preCategoryOptions selectedValue=-1>
    <option value="">请选择</option>
    <option value="0" ${web.isSelected(selectedValue=="0")}>正常</option>
    <option value="1" ${web.isSelected(selectedValue=="1")}>补考</option>
</#macro>